package io.bluefw.blueui.dsl;

import java.util.List;

import io.bluefw.blueui.dsl.render.widget.ToolbarWidget;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@NoArgsConstructor
public class Toolbar {
	private final ToolbarWidget widget = new ToolbarWidget("toolbar.ftl");
	
	private List<ToolbarItem> items;
	public void setItems (List<ToolbarItem> items) {
		widget.setItems(items);
	}
	public StringBuffer render() {
		return widget.render();
	}
}
